<include file="public@header" />
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li><a href="{:url('index')}">项目列表</a></li>
		<li class="active"><a href="">审核</a></li>
	</ul>
	<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('change_sh')}">
		<div>
			<dl>
				<dt></dt>
				<dd>
					<table class="table table-hover table-bordered">
						<tr>
							<td>资料名称</td>
							<td>上传人</td>
							<td>资料类型</td>
							<td>上传时间</td>
							<td>资料下载</td>
						</tr>
						<volist name="files" id="vo">
							<tr>
								<td>{$vo.file_name}</td>
								<td>{$vo.user_nickname}</td>
								<td>
									<switch name="vo.type">
										<case value="3">
											立项资料
										</case>
										<case value="4">
											落定资料
										</case>
										<case value="5">
											变更资料
										</case>
										<case value="6">
											完成资料
										</case>
									</switch>
								</td>
								<td>{$vo.create_time|date="Y-m-d",###}</td>
								<td><a href="{$vo.file|cmf_get_file_download_url}">下载</a></td>
							</tr>
							</switch>
						</volist>
					</table>
				</dd>
			</dl>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="form-required">*</span>审核</label>
			<div class="col-md-6 col-sm-10">
				<label class="radio-inline">
					<input type="radio" name="check" value="1" checked> 通过
				</label>
				<label class="radio-inline">
					<input type="radio" name="check" value="0"> 不通过
				</label>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<input type="hidden" name="pid" value="{$project.id}"/>
				<button type="submit" class="btn btn-primary js-ajax-submit">提交</button>
			</div>
		</div>
	</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>